KeyModifiers

public final static KeyModifiers KeyModifiers(Boolean altDown, Boolean metaDown, Boolean shiftDown, Boolean controlDown, Boolean altGraphDown)
public final static KeyModifiers KeyModifiers(Boolean altDown, Boolean metaDown, Boolean shiftDown, Boolean controlDown, Boolean altGraphDown)

Creates a new instance of KeyModifiers with the given parameters.

Since

8.0.0

Parameters

altDown

Specifies whether the Alt key is pressed.

metaDown

Specifies whether the Meta key is pressed.

shiftDown

Specifies whether the Shift key is pressed.

controlDown

Specifies whether the Control key is pressed.

altGraphDown

Specifies whether the AltGraph key is pressed.